package com.yuanxiao.dao;

import com.yuanxiao.pojo.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;

public interface AuthCodeDao extends JpaRepository<AuthCode,Integer> {
    @Transactional
     void  deleteByEmail(String email);
}
